﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="order_add02.aspx.cs" Inherits="WebSite.admin.order.order_add02" %>
 
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>叶盟实业后台管理系统</title>
    <link href="../main.css" rel="stylesheet" type="text/css" />
    <script language="javascript">
        parent.maintitle.innerHTML = "定单管理";
        parent.contentmain.innerHTML = "<span class='title01'>所在位置：</span>添加定单 - 设置收件人信息。&nbsp;&nbsp;<img src='images/sort_desc.gif' /> <a href='order/order.aspx' target='content'><font color=#ff0000>定单列表</font></a>"
    </script>
    <script language='javascript'>
        var path = (window.top.location).toString();
        if (path.indexOf('login.aspx') == -1) {
            if (path.indexOf('index.aspx') == -1) {
                window.top.location = 'index.aspx';
            }
        }
	</script>
	<script language="JavaScript" src="../../js/function.js"></script>
    <script language="javascript">
        function CheckFrm() {
            var obj = 'cname,email,address,tel';
            var objt = '1,3,1,4';
            var msg = '收件人,电子邮件,地址,电话';
            var chks = chk(form1, obj, objt, msg)
            if (!chks) {
                return false;
            }
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <center>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#F1F4F7">
<tr>
<td height="382" align="center" valign="top">
<br />
<table width="90%" border="0" cellspacing="0" cellpadding="3">
<%if (Request.QueryString["memberid"].ToString() != "0")
  { %>
<tr>
    <th align="left">从已有收货地址中选择：</th>
    <td><asp:DropDownList ID="adds" runat="server">
        </asp:DropDownList><asp:ImageButton ID="ImageButton1" ImageUrl="../images/button02.gif" runat="server" OnClick="ImageButton1_Click" /></td>
    
  </tr>
    
  <%} %>
    <tr>
    <th width="150" align="left">收件人：</th>
    <td><input name="cname" type="text" id="cname" runat="server" />
      <span class="require-field">*</span></td>
  </tr>
    <tr>
    <th align="left">电子邮件：</th>
    <td><input name="email" type="text" id="email" runat="server" size="40" />
    <span class="require-field">*</span></td>
  </tr>
    <tr>
    <th align="left">地址：</th>
    <td><input name="address" type="text" id="address" runat="server" size="40" />
    <span class="require-field">*</span></td>
  </tr>
  <tr>
    <th align="left">邮编：</th>
    <td><input name="post" id="post" type="text" runat="server" /></td>
  </tr>
    <tr>
    <th align="left">电话：</th>
    <td><input name="tel" type="text" id="tel" runat="server" />
    <span class="require-field">*</span></td>
  </tr>
  <tr>
    <th align="left">手机：</th>
    <td><input name="phone" type="text" id="phone" runat="server" /></td>
  </tr>
  <tr>
  <th align="left">配送方式：</th>
  <td> <%=shipmsg %></td>
  </tr>
  <tr>
  <th align="left">支付方式：</th>
  <td> <input type="radio" name="pay" value="1" checked>银行转账 　<input type="radio" name="pay" value="2">在线支付</td>
  </tr>
  </table>
  <p align="center">
    <a href="javascript:history.back()"><img src="../images/button15.gif" border="0" /></a> <asp:ImageButton ID="ImageButton2" ImageUrl="../images/button16.gif" runat="server" OnClick="ImageButton2_Click" />
       <asp:ImageButton ID="ImageButton3" ImageUrl="../images/button12.gif" runat="server" OnClick="ImageButton3_Click" />
  </p>
  </td>
</tr>
</table>
</center>
    </div>
    </form>
</body>
</html>
